package com.example.yichuangyun.model.order;

import java.util.List;

public class SelectOrderInfoDataModel {
    private String id;
    private String signUserId;
    private String contactsName;
    private String phone;
    private String companyName;
    private String signName;
    private int serviceCategory;
    private int status;
    private List<OrderProductModel> pros;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSignUserId() {
        return signUserId;
    }

    public void setSignUserId(String signUserId) {
        this.signUserId = signUserId;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public int getServiceCategory() {
        return serviceCategory;
    }

    public void setServiceCategory(int serviceCategory) {
        this.serviceCategory = serviceCategory;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<OrderProductModel> getPros() {
        return pros;
    }

    public void setPros(List<OrderProductModel> pros) {
        this.pros = pros;
    }

    public static class OrderProductModel {
        private String id;
        private String title;
        private double price;
        private String pcBanner;
        private List<OrderServiceModel> serviceList;

        private boolean isExpand = true;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPcBanner() {
            return pcBanner;
        }

        public void setPcBanner(String pcBanner) {
            this.pcBanner = pcBanner;
        }

        public List<OrderServiceModel> getServiceList() {
            return serviceList;
        }

        public void setServiceList(List<OrderServiceModel> serviceList) {
            this.serviceList = serviceList;
        }

        public boolean isExpand() {
            return isExpand;
        }

        public void setExpand(boolean expand) {
            isExpand = expand;
        }
    }

    public static class OrderServiceModel {
        private String id;
        private String serviceName;
        private String serviceCostId;
        private int serviceType;
        private Integer servicePeriod;
        private int serviceRatio;
        private List<String> cycles;
        private List<CyclesModel> productCycles;
        private List<OrderAttrsModel> attrs;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getServiceName() {
            return serviceName;
        }

        public void setServiceName(String serviceName) {
            this.serviceName = serviceName;
        }

        public String getServiceCostId() {
            return serviceCostId;
        }

        public void setServiceCostId(String serviceCostId) {
            this.serviceCostId = serviceCostId;
        }

        public int getServiceType() {
            return serviceType;
        }

        public void setServiceType(int serviceType) {
            this.serviceType = serviceType;
        }

        public Integer getServicePeriod() {
            return servicePeriod;
        }

        public void setServicePeriod(Integer servicePeriod) {
            this.servicePeriod = servicePeriod;
        }

        public int getServiceRatio() {
            return serviceRatio;
        }

        public void setServiceRatio(int serviceRatio) {
            this.serviceRatio = serviceRatio;
        }

        public List<String> getCycles() {
            return cycles;
        }

        public void setCycles(List<String> cycles) {
            this.cycles = cycles;
        }

        public List<CyclesModel> getProductCycles() {
            return productCycles;
        }

        public void setProductCycles(List<CyclesModel> productCycles) {
            this.productCycles = productCycles;
        }

        public List<OrderAttrsModel> getAttrs() {
            return attrs;
        }

        public void setAttrs(List<OrderAttrsModel> attrs) {
            this.attrs = attrs;
        }
    }

    public static class OrderAttrsModel {
        private String id;
        private String serviceId;
        private String attName;
        private List<OrderMsgModel> msgs;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getServiceId() {
            return serviceId;
        }

        public void setServiceId(String serviceId) {
            this.serviceId = serviceId;
        }

        public String getAttName() {
            return attName;
        }

        public void setAttName(String attName) {
            this.attName = attName;
        }

        public List<OrderMsgModel> getMsgs() {
            return msgs;
        }

        public void setMsgs(List<OrderMsgModel> msgs) {
            this.msgs = msgs;
        }
    }

    public static class OrderMsgModel {
        private boolean isSelect;
        private String id;
        private String attrMsg;
        private String price;

        public OrderMsgModel(String attrMsg) {
            this.attrMsg = attrMsg;
        }

        public OrderMsgModel(String attrMsg, boolean isSelect) {
            this.attrMsg = attrMsg;
            this.isSelect = isSelect;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAttrMsg() {
            return attrMsg;
        }

        public void setAttrMsg(String attrMsg) {
            this.attrMsg = attrMsg;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }
    }

    public static class CyclesModel {
        private int cycleType;
        private String cycleValue;

        public int getCycleType() {
            return cycleType;
        }

        public void setCycleType(int cycleType) {
            this.cycleType = cycleType;
        }

        public String getCycleValue() {
            return cycleValue;
        }

        public void setCycleValue(String cycleValue) {
            this.cycleValue = cycleValue;
        }
    }
}
